package com.java.action;

import java.util.List;

import com.java.pojo.ComEmp;
import com.java.service.IDeptService;

public class ShowAddDeptAction {
private IDeptService deptservice;
private List<ComEmp> elist;
public String execute(){
	System.out.println("showAddDeptAction.....");
	elist=deptservice.getAllEmpInDept();
		return "success";
}
public IDeptService getDeptservice() {
	return deptservice;
}
public void setDeptservice(IDeptService deptservice) {
	this.deptservice = deptservice;
}
public List<ComEmp> getElist() {
	return elist;
}
public void setElist(List<ComEmp> elist) {
	this.elist = elist;
}

}
